package com.csproj.dispatch.service.mapper;

import com.csproj.dispatch.domain.ProductDetailInfo;
import com.csproj.dispatch.service.dto.ProductDetailInfoDTO;
import com.csproj.siiat.service.mapper.EntityMapper;
import org.mapstruct.Mapper;

/**
 * Mapper for the entity ProductDetailInfo and its DTO ProductDetailInfoDTO.
 */
@Mapper(componentModel = "spring", uses = {})
public interface ProductDetailInfoMapper extends EntityMapper<ProductDetailInfoDTO, ProductDetailInfo> {

    

    

    default ProductDetailInfo fromId(String id) {
        if (id == null) {
            return null;
        }
        ProductDetailInfo productDetailInfo = new ProductDetailInfo();
        productDetailInfo.setId(id);
        return productDetailInfo;
    }
}
